import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true,
    keepAlive: true,
};
const pre = '/report/';
export default {
    path: '/report',
    name: 'report',
    //   redirect: {
    //     name: `${pre}visitReport`,
    //   },
    meta,
    component: BasicLayout,
    children: [{
                   path: 'menuClick',
                   name: `menuClick`,
                   meta: {
                       ...meta,
                       title: '菜单点击统计表'
                   },
                   component: () =>
                import ('@/pages/report/menuClick')
               }, {
                   path: 'visitReport',
                   name: `${pre}visitReport`,
                   meta: {
                       ...meta,
                       title: '回访报表'
                   },
                   component: () =>
                import ('@/pages/report/visitReport')
               },
               {
                   path: 'portraitReport',
                   name: `${pre}portraitReport`,
                   meta: {
                       ...meta,
                       title: '用户画像'
                   },
                   component: () =>
                import ('@/pages/report/portraitReport')
               },
               {
                   path: 'analysisReport',
                   name: `${pre}analysisReport`,
                   meta: {
                       ...meta,
                       title: '到诊关联表'
                   },
                   component: () =>
                import ('@/pages/report/analysisReport')
               },
               {
                   path: 'InformationPperfection',
                   name: `${pre}InformationPperfection`,
                   meta: {
                       ...meta,
                       title: '信息完善表'
                   },
                   component: () =>
                import ('@/pages/report/InformationPperfection')
               },
               {
                   path: 'arrivedReport',
                   name: `${pre}arrivedReport`,
                   meta: {
                       ...meta,
                       title: '到诊报表'
                   },
                   component: () =>
                import ('@/pages/report/arrivedReport')
               },
               {
                   path: 'robotReport',
                   name: `${pre}robotReport`,
                   meta: {
                       ...meta,
                       title: '机器人报表'
                   },
                   component: () =>
                import ('@/pages/report/robotReport')
               },
               {
                   path: 'feedBackForm',
                   name: `${pre}feedBackForm`,
                   meta: {
                       ...meta,
                       title: '项目情况反馈表'
                   },
                   component: () =>
                import ('@/pages/report/feedBackForm')
               },
               {
                   path: 'feedBackFormTwo',
                   name: `${pre}feedBackFormTwo`,
                   meta: {
                       ...meta,
                       title: '客服中心数据汇总'
                   },
                   component: () =>
                import ('@/pages/report/feedBackFormTwo')
               },
               {
                   path: 'networkMarketing',
                   name: `${pre}networkMarketing`,
                   meta: {
                       ...meta,
                       title: '网络营销报表'
                   },
                   component: () =>
                import ('@/pages/report/networkMarketing')
               },
               {
                   path: 'dentalReport',
                   name: `${pre}dentalReport`,
                   meta: {
                       ...meta,
                       title: '牙科报表'
                   },
                   component: () =>
                import ('@/pages/report/dentalReport')
               },
               {
                   path: 'teethReport',
                   name: `${pre}teethReport`,
                   meta: {
                       ...meta,
                       title: '牙科报表源数据'
                   },
                   component: () =>
                import ('@/pages/report/teethReport')
               },
               {
                   path: 'serviceReport',
                   name: `${pre}serviceReport`,
                   meta: {
                       ...meta,
                       title: '客服报表'
                   },
                   component: () =>
                import ('@/pages/report/serviceReport')
               },
               {
                   path: 'Wechatnoreply',
                   name: `${pre}Wechatnoreply`,
                   meta: {
                       ...meta,
                       title: '微信未回复报表'
                   },
                   component: () =>
                import ('@/pages/report/Wechatnoreply')
               }
    ]
};
